<?php echo '#' . $this->cmdfile; ?>

<?php $table = $this->adapter->getConfig()->table; ?>

SELECT
	self.*

FROM
	<?php echo $table; ?> AS self

WHERE TRUE
	AND self.id > <?php echo $this->id; ?>

ORDER BY
	self.id

LIMIT
	1